﻿using ChurchDiary.BLL;
using ChurchWebsite.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ChurchWebsite.Areas.Dashboard.Controllers
{
    public class OrganizationController : BaseController
    {
        public ActionResult Index()
        {
            return View();
        }
        public JsonResult GetOrganizationDashboard()
        {
            return Json(new BLL_Dashboard().GetOrganizationDashboard(), JsonRequestBehavior.AllowGet);
        }

        public JsonResult GetNotifications()
        {
            return Json(new BLL_Settings().GetNotifications(), JsonRequestBehavior.AllowGet);
        }

        
    }
}
